package cn.istartfinancial.entity;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @author: Nzp
 * @date: 2018/8/22
 * @description: 角色菜单实体
 */
@Table(name = "sys_role_menu")
public class SysRoleMenu
{
    @Id
    @Column(name = "role_id")
    private String roleId;


    @Column(name = "menu_id")
    private String menuId;

    /**
     * @return role_id
     */
    public String getRoleId()
    {
        return roleId;
    }

    /**
     * @param roleId
     */
    public void setRoleId(String roleId)
    {
        this.roleId = roleId == null ? null : roleId.trim();
    }

    /**
     * @return menu_id
     */
    public String getMenuId()
    {
        return menuId;
    }

    /**
     * @param menuId
     */
    public void setMenuId(String menuId)
    {
        this.menuId = menuId == null ? null : menuId.trim();
    }
}